import { http } from "../utils/http";

/** 获取账单 */
export const getBillPage = params => {
  return http.request("get", "/v1/get_bill_page", { params });
};

/** 获取账单 */
export const getDetailBill = params => {
  return http.request("get", "/v1/get_detail_bill", { params });
};

/** 更新账单，结单 */
export const updateBillInfo = data => {
  return http.request("post", "/v1/update_bill_info", { data });
};

/** 确认账单，结单 */
export const statementOfAccount = data => {
  return http.request("post", "/v1/statement_of_account", { data });
};
